package trial.collection;

import java.util.List;

/**
 * 尝试Java9的集合静态方法
 */
public class StaticMethod {
    public static void main(String[] args) {
        List<String> strList = List.of("a", "b", "c");
        strList.forEach(s -> System.out.printf("%s\t", s));
    }
}
